package com.tfjybj.msg.commons.exceptionhandler;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 自定义异常类
 * @Author: xuziguo
 * @Date: 2021/4/17 下午 3:08
 * @Modified By:
 * @Modify Date:
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MsgException extends RuntimeException {
    //状态码
    private String code;
    //异常信息
    private String msg;
}
